package com.novax.ex.activity.infrastructure.entity;

import com.novax.ex.common.base.BaseEntity;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @Description 排名赛子活动配置
 * @Author ChenXi
 * @Date 2023/11/23/15:46
 */
 

@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
public class RankSubConfig extends BaseEntity {
    /**
    * 排名赛配置id
    */
    private Long rankId;

    /**
    * 类型, 1=交易量排名赛配置, 2=盈利率排名赛配置, 3=盈利额排名赛配置
    */
    private Integer type;

    /**
    * 子活动名
    */
    private String name;

    /**
    * type=1时->当前参赛人数, type=2 or type=3时->奖池
    */
    private Integer number;
}